<%-- 
功能：获得属性input的样式
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ attribute name="type" type="java.lang.Short" required="true" description="属性类型"%>
<c:set var="dataType" value=",${type},"/>
<c:choose>
	<c:when	test="${fn:contains(',1,', dataType)}">
		<%--多选checkbox --%>
		<c:set var="returnClassName" value=""   scope="request"/>
		<c:set var="returnStyleName" value=""   scope="request"/>
	</c:when>
	<c:when	test="${fn:contains(',2,10,', dataType)}">
		<%--url，短文本 --%>
		<c:set var="returnClassName" value="inputtxt"   scope="request"/>
		<c:set var="returnStyleName" value="width:300px;"   scope="request"/>
	</c:when>
	<c:when	test="${fn:contains(',4,5,', dataType)}">
		<%--整型，浮点型 --%>
		<c:set var="returnClassName" value="inputtxt"   scope="request"/>
		<c:set var="returnStyleName" value="width:120px;"   scope="request"/>
	</c:when>
	<c:when	test="${fn:contains(',7,', dataType)}">
		<%--日期 --%>
		<c:set var="returnClassName" value="inputtxt"   scope="request"/>
		<c:set var="returnStyleName" value="width:100px;"   scope="request"/>
	</c:when>
	<c:when	test="${fn:contains(',8,', dataType)}">
		<%--下拉 --%>
		<c:set var="returnClassName" value="selecttxt"   scope="request"/>
		<c:set var="returnStyleName" value="width:120px;"   scope="request"/>
	</c:when>
	<c:when	test="${fn:contains( ',11,', dataType)}">
		<%--长文本类型 --%>
		<c:set var="returnClassName" value="textareatxt"  scope="request"/>
		<c:set var="returnStyleName" value="width:300px;height:50px;"   scope="request"/>
	</c:when>
	<c:otherwise>
		<c:set var="returnClassName" value=""  scope="request"/>
		<c:set var="returnStyleName" value=" "   scope="request"/>
	</c:otherwise>
</c:choose>
